import Vue from 'vue'
import App from '@/App.vue'
import router from "./router";
import store from "./store";
Vue.config.productionTip = false

// 引入轮播swiper样
import 'swiper/css/swiper.min.css'

import './assets/iconfont/iconfont.css'
//引入elementui里的步骤条
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// Vue.use(ElementUI);

<<<<<<< HEAD
// service.defaults.withCredentials = false

=======
>>>>>>> 96896841aafe7d22cfb2da53a795907c51e06db1
import './assets/iconfont/iconfont.css'
//引入elementui里的步骤条
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// Vue.use(ElementUI);


import MyHead from '@/components/myHead/index.vue'
import TypeNav from '@/components/TypeNav/index.vue'
import Carousel from '@/components/Carousel/index.vue'
import MyFoot from '@/components/MyFoot/index.vue'
import MySearch from '@/components/MySearch/index.vue'
// Vue.component(myHeader.name, myHeader);
Vue.component(MyHead.name, MyHead);
Vue.component(TypeNav.name, TypeNav);
Vue.component(Carousel.name, Carousel);
Vue.component(MyFoot.name, MyFoot);
Vue.component(MySearch.name, MySearch);


// beforeCreate() {
//     Vue.prototype.$bus = this;
//     Vue.prototype.$API = API;
// },

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
